﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace FirstFloor.P2P
{
    /// <summary>
    /// Defines the possible reasons for closing an application.
    /// </summary>
    public enum P2PApplicationCloseReason
    {
        /// <summary>
        /// Not applicable.
        /// </summary>
        None,
        /// <summary>
        /// The application has been closed by the local application.
        /// </summary>
        ClosedByLocalApplication,
        /// <summary>
        /// The application has been closed by the remote application.
        /// </summary>
        ClosedByRemoteApplication,
        /// <summary>
        /// Establishing the connection has timed out.
        /// </summary>
        ConnectTimeout,
    }
}
